<template>
  <el-tabs v-model="activeName" @tab-click="handleClick">
    <el-tab-pane label="员工档案概况" name="first">
    </el-tab-pane>
    <el-tab-pane label="教育经历" name="second">
      <education/>
    </el-tab-pane>
    <el-tab-pane label="工作经历" name="third">角色管理</el-tab-pane>
    <el-tab-pane label="证书/证件" name="fourth">定时任务补偿</el-tab-pane>
  </el-tabs>
</template>

<script>
import TableComponent from './TableComponent.vue'
import education  from "@/views/manage/education/index.vue";
export default {
  components: {
    TableComponent,
    education
  },
  data() {
    return {
      activeName: 'second'
    };
  },
  methods: {
    handleClick(tab, event) {
      console.log(tab, event);
    }
  }
};
</script>
